{block #content}
<h3>{block #title}Správa Kol{/block}</h3>

<div class="center_table">
	<a href="{link :Admin:ZapasKolo:novy}"><img src="/images/add-icon.png" alt="Nové kolo" title="Nové kolo" />Nové kolo</a>
	<table class="form">
		<thead>
			<th>Název</th>
			<th>Číslo kola</th>
			<th>Začátek kola</th>
			<th>Konec kola</th>
			<th colspan="2">Akce</th>
		</thead>
		{foreach $zapas_kola as $item}
			<tr class="data_row {if $iterator->counter % 2 == 0}even{else}odd{/if}">
				<td class="data">{$item->nazev}</td>
				<td class="data">{$item->cislo_kola}</td>
				<td class="data">{$item->zacatek}</td>
				<td class="data">{$item->konec}</td>
				<td><a href="{link :Admin:ZapasKolo:upravit, 'id'=>$item->id}"><img src="/images/edit-icon.png" alt="Upravit" title="Upravit" /></a></td>
				<td><a href="{link :Admin:ZapasKolo:smazat, 'id'=>$item->id}"><img src="/images/delete-icon.png" alt="Smazat" title="Smazat" /></a></td>
			</tr>
		{/foreach}
	</table>
</div>
